//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "framework\fn_cleanMissionVar.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_key","_value","_instance_id","_result","_variables","_name"];
DEFAULT_PARAM(_instance_id,0,"");
// _variables = OGETVAR(GVAR(mission_variables),_instance_id,(call FFUNC(hashEmpty)));
// _variables = (call FFUNC(hashEmpty));
// OSETVAR(GVAR(mission_variables),_instance_id,_variables);

_name = format [QGVAR(MISSION_VARIABLES_%1),_instance_id];
missionNameSpace setVariable [_name,nil];

TRACE("End");
TMFPROFILERSTOP;
